package com.dearbinge.data.pojo.commodity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品优惠券佣金分销的DO
 *
 * @author wes
 * @date 2019/3/11
 */
@TableName("commodity_commission")
public class CommodityCommissionDO extends Model<CommodityCommissionDO> {

    /**
     * 商品佣金表id
     */
    @TableId(value = "commodity_commission_id", type = IdType.AUTO)
    private Integer commodityCommissionId;

    /**
     * 批发价总比例
     */
    private Double wholesalePct;

    /**
     * 优惠券比例
     */
    private Double couponPct;

    /**
     * 分销比例
     */
    private Double forwardPct;

    /**
     * 发布秀场比例
     */
    private Double showPct;

    /**
     * 点赞比例
     */
    private Double thumbsPct;

    /**
     * 商品id
     */
    private Integer commodityId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改人
     */
    private String modifyBy;

    /**
     * 是否删除（0：否 1：是）
     */
    @TableField(value = "is_deleted")
    private Boolean deleted;



    /**
     * 主键值
     */
    @Override
    protected Serializable pkVal() {
        return null;
    }

    public Integer getCommodityCommissionId() {
        return commodityCommissionId;
    }

    public void setCommodityCommissionId(Integer commodityCommissionId) {
        this.commodityCommissionId = commodityCommissionId;
    }

    public Double getWholesalePct() {
        return wholesalePct;
    }

    public void setWholesalePct(Double wholesalePct) {
        this.wholesalePct = wholesalePct;
    }

    public Double getCouponPct() {
        return couponPct;
    }

    public void setCouponPct(Double couponPct) {
        this.couponPct = couponPct;
    }

    public Double getForwardPct() {
        return forwardPct;
    }

    public void setForwardPct(Double forwardPct) {
        this.forwardPct = forwardPct;
    }

    public Double getShowPct() {
        return showPct;
    }

    public void setShowPct(Double showPct) {
        this.showPct = showPct;
    }

    public Double getThumbsPct() {
        return thumbsPct;
    }

    public void setThumbsPct(Double thumbsPct) {
        this.thumbsPct = thumbsPct;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}